/*css 初始化代码 css reset*/
/*清除元素默认的内外边距*/
* {
	margin: 0;
	padding: 0;
}
/*清除列表样式*/
li {
	list-style: none;
}
/*去掉button 默认自带的边框*/
button {
	border: none;
}
html,body {
	height: 100%;
	/* background-color: #f3f5f7; */
	/*方便写代码 一会别忘了删除*/
	/*height: 3000px;*/
}
a {
	text-decoration: none;
}
/*清除浮动的*/
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}
/*header start*/
.header {
	height: 60px;
	background-color: #030303;
	margin:  auto;
}
.logo {
	float: left;
	margin-right: 60px;
	margin-top: 5px;
}
.nav {
	float: left;
}
.nav ul{
	height: 60px;
}
.nav ul li {
	float: left;
}
.nav ul li a {
	display: block;
	height: 40px;
	padding: 0 10px;
	margin-right: 20px;
	line-height: 55px;
	font-size: 18px;
	color: #eee;
	text-decoration: none;
}
/*鼠标经过链接 才有底边框*/
.nav ul li a:hover {
	border-bottom: 2px solid #00a4ff;
}
.user {
	float: right;
	height: 60px;
	line-height: 60px;
	margin-right: 30px;
	font-size: 14px;
	color: #666;
	vertical-align:bottom;
}
.user img{
	float: left;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 15px;
}
.banner {
	height: 100%;
}
.subnav {
	float: left;
	width: 150px;
	height: 100%;
	padding: 0 20px;
	/* background-color: #000; */
	/*背景半透明*/
	background: rgba(0, 0, 0, -1);
}
.subnav li {
	height: 45px;
	line-height: 45px;
}
.subnav li a {
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}
.subnav li a:hover {
	color: #00b4ff;
}
.subnav .fa{
	margin-right: 10px;
}
.banner{
	/* flex: 1; */
	float: left;
	width: 100%;
	height: 100%;
	background-size:cover;
	background: url(https://img.zcool.cn/community/01f4bb5d09a670a801205e4b0c0697.gif);
	background-repeat: no-repeat;
    background-size: 100% 100%;
}
.course {
	/*因为course 子盒子有了浮动，则就不会外边距塌陷的问题了*/
	float: right;
	width: 228px;
	height: 300px;
	background-color: #fff;
	margin-top: 50px;
}
.course-hd {
	height: 48px;
	background-color: #9bceea;
	font-size: 18px;
	text-align: center;
	line-height: 48px;
	color: #fff;
	/*文字加粗*/
	/*font-weight: bold;*/
	font-weight: 700;
}
.course-bd {
	/*没有宽度的盒子 padding 不会撑开盒子*/
	padding: 0 15px;
}
.course-bd ul {
	/*外边距塌陷的问题
	margin-top: 10px;*/
	padding-top: 10px;
}
.course-bd li {
	/*行高等与高度 只能让单行文本垂直居中*/
	height: 50px;
	border-bottom: 1px solid #ccc;
	margin-top: 10px;
}
.course-bd li h4 {
	font-size: 14px;
	color: #4e4e4e;
}
.course-bd li p {
	font-size: 12px;
	color: #a5a5a5;
}
.all {
	display: block;
	height: 38px;
	border: 1px solid #00a4ff;
	margin-top: 10px;
	font-size: 16px;
	color:  #00a4ff;
	text-align: center;
	line-height: 38px;
}
.all:hover {
	background-color: #00a4ff;
	color: #fff;
}
/*goods start*/
